package io.geekidea.boot.persmanag.dto;

import io.geekidea.boot.common.UpdateAction;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serial;
import java.io.Serializable;

@Data
@NoArgsConstructor
@ToString
public class PersManagDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "人员姓名不能为空")
    private String name;

    @NotBlank(message = "人员手机号码不能为空")
    private String phone;

    @NotBlank(message = "人员所在战区不能为空")
    private Integer ubietyZone;

    @NotBlank(message = "人员所在门店不能为空")
    private Integer ubietyShop;

    @NotBlank(message = "人员角色不能为空")
    private Integer role;

    private String username;

    @NotBlank(message = "人员状态不能为空")
    private String whetfordden;

    private String createdBy;

    private String updatedBy;

}
